package com.ansatsing.decorator.coffee.condiment;

import com.ansatsing.decorator.Beverage;
import com.ansatsing.decorator.CondimentDecorator;
/**
 * 牛奶调料
 * @author sunyq
 *
 */
public class Milk extends CondimentDecorator {
	private Beverage beverage;
	public Milk(Beverage beverage) {
		this.beverage = beverage;
	}
	@Override
	public String getDescription() {
		return beverage.getDescription() + ",Milk";
	}

	@Override
	public double cost() {
		return .10 + beverage.cost();
	}

}
